import request from '@/utils/encryptionRequest';

// 红包兑换首页数据
export function hbduiIndex(data: object, opt = {}) {
  return request({
    method: 'post',
    url: '/hbduiIndex.do',
    data,
    opt,
  });
}

// 红包兑换
export function hbdui(data: object, opt = {}) {
  return request({
    method: 'post',
    url: '/hbdui.do',
    data,
    opt,
  });
}
